/*
 * SensorMessageUtils.h
 *
 *  Created on: Feb 11, 2009
 *      Author: Andrzej Olchawa
 *      mailto: andrzejolchawa@gmail.com
 *      http://www.hardtechnology.org
 *      This is a part of the Armazd project, which is covered by
 *      GNU GPL v2 license.
 */

#ifndef SENSORMESSAGEUTILS_H_
#define SENSORMESSAGEUTILS_H_

/* Include section */
#include "SensorMessageDefinitions.h"

/* namespace declaration */
using namespace std;

/* SensorMessageUtils class definition */
class SensorMessageUtils
{

public:

	/* Constructors and destructor */
	SensorMessageUtils();
	virtual ~SensorMessageUtils();

	/* Functions related with syslog message utils */
	static int computeSyslogCode(int, int);
	static int extractSyslogFacility(int);
	static int extractSyslogPriority(int);

};

#endif /* SENSORMESSAGEUTILS_H_ */
